package com.alan.api.share.service;


import com.alan.api.share.dto.common.RequestBase;
import com.alan.api.share.dto.common.ResponseBase;

/**
 * Created by Alan on 2017/10/29.
 */
public interface IUserService {

    /**
     * 用户注册
     * @param request
     * @return
     */
    ResponseBase register(RequestBase request) throws Exception;

    /**
     * 用户登录
     * @param request
     * @return
     */
    ResponseBase login(RequestBase request) throws Exception;

    /**
     * 用户退出
     * @param request
     * @return
     */
    ResponseBase loginOut(RequestBase request) throws Exception;

}
